package com.xtsoft.platform.task.service.impl;

import java.util.List;

import com.xtsoft.platform.task.domain.TaskComment;
import com.xtsoft.platform.task.repository.TaskCommentRepository;
import com.xtsoft.platform.task.service.TaskCommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Service;

import com.xtsoft.core.service.impl.GenericServiceImpl;


@Service("TaskCommentService")
public class TaskCommentServiceImpl extends GenericServiceImpl<TaskComment, String, TaskCommentRepository> implements TaskCommentService {
	@Autowired
	private TaskCommentRepository taskCommentRepository;
	
	
	public TaskComment findByInfTaskId(String id){
		return taskCommentRepository.findByInfTaskId(id);
	}
}
